package com.ijunfu.spring.conditional._01_conditional_type;

import com.ijunfu.spring.conditional._01_conditional_type.config.MyConfiguration;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 *
 * @Title  : 
 * @Author : ijunfu <ijunfu@163.com>
 * @Date   : 2023/11/5 18:39
 * @Version: 1.0
 * @Motto  : 世界很大 世界很小
 *
 */
public class ConditionalTypeMain {

    public static void main(String[] args) {
        ApplicationContext ctx = new AnnotationConfigApplicationContext(MyConfiguration.class);

        MyConfiguration cfg = ctx.getBean(MyConfiguration.class);
        System.out.println(cfg);
    }
}
